<%@ Page Title="" MasterPageFile="~/BackOffice.master" Language="C#" AutoEventWireup="true" CodeBehind="CadastroContrato.aspx.cs" Inherits="MakeIT.SGI.ERP.Apresentacao.CadastroContrato" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>

<asp:Content ID="cHeadHttpEquiv" ContentPlaceHolderID="headHttpEquiv" runat="server">
</asp:Content>
<asp:Content ID="cHead" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="cCadastro" ContentPlaceHolderID="cphTituloCadastro" runat="server">
    Cadastro de Contrato (contrato)
</asp:Content>

<asp:Content ID="cMain" ContentPlaceHolderID="cphMain" runat="server">

    <asp:UpdatePanel ID="upnContrato" runat="server">
        <ContentTemplate>
            <asp:TabContainer ID="tabContrato" runat="server" ActiveTabIndex="0">
                <asp:TabPanel ID="tabPesquisa" runat="server" HeaderText="Pesquisa">
                    <ContentTemplate>
                        <div style="width: 100%; background-color:#eeeeff; min-width:400px; min-height:300px;">
                            <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td valign="middle" style="width:24px;">
                                        <asp:ImageButton ID="ibPesquisa" runat="server" OnClick="btnPesquisa_Click" 
                                                  ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/search.png" 
                                                  ToolTip="Executa a pesquisa aplicando os filtros"/>
                                    </td>
                                    <td valign="middle" align="left">
                                        Filtros:
                                    </td>
                                    <td>
                                        <div class="FormDiv">
                                            <div class="FormLabel">C&oacute;digo:</div>
                                            <asp:TextBox ID="txtIdContrato" MaxLength="11" Width="76" onkeypress="strictNum();" onblur="validaDecimal(this.value,11,0);" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                            <asp:MaskedEditExtender ID="meetxtIdContrato" runat="server" Mask="99999999999" TargetControlID="txtIdContrato" PromptCharacter="" />
                                        </div>
                                        <div class="FormDiv">
                                            <div class="FormLabel">Filial:</div>
                                            <asp:DropDownList ID="ddlIdFilial" Width="76" ForeColor="DarkBlue" Font-Bold="true" runat="server" DataTextField="Filial" 
                                                DataValueField="PKString" ></asp:DropDownList>
                                        </div>
                                        <div class="FormDiv">
                                            <div class="FormLabel">Parcelamento:</div>
                                            <asp:TextBox ID="txtDesc" MaxLength="60" Width="100" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                        </div>
                                        <div class="FormDiv">
                                            <div class="FormLabel">Debito/Credito:</div>
                                            <asp:DropDownList ID="ddlNatureza" ForeColor="DarkBlue" Font-Bold="true" runat="server" > 
                                                <asp:ListItem Text="Todos" Value=" "></asp:ListItem>
                                                <asp:ListItem Text="Sim" Value="S"></asp:ListItem>
                                                <asp:ListItem Text="N&atilde;o" Value="N"></asp:ListItem>
                                            </asp:DropDownList>
                                        </div>
                                        <div class="FormDiv">
                                            <div class="FormLabel">Nr.&nbsp;de&nbsp;Documento:</div>
                                            <asp:TextBox ID="txtNrDoc" MaxLength="30" Width="100" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                        </div>
                                        <div class="FormDiv">
                                            <div class="FormLabel">Fornecedor:</div>
                                            <asp:DropDownList ID="ddlIdFornecedor" Width="76" ForeColor="DarkBlue" Font-Bold="true" runat="server" DataTextField="ToString()" 
                                                DataValueField="PKString" ></asp:DropDownList>
                                        </div>
                                        <div class="FormDiv">
                                            <div class="FormLabel">Cliente:</div>
                                            <asp:DropDownList ID="ddlIdCliente" Width="76" ForeColor="DarkBlue" Font-Bold="true" runat="server" DataTextField="ToString()" 
                                                DataValueField="PKString" ></asp:DropDownList>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                            <hr />
                            <asp:GridView ID="grvResultado" runat="server" AutoGenerateColumns="False" EmptyDataText="N&atilde;o foram encontrados registros nessa pesquisa!"
                                  CellPadding="1" ForeColor="#333333" GridLines="Both"  RowStyle-ForeColor="#333333" RowStyle-BackColor="#F7F6F3"
                                  AllowPaging="true" PageSize="50" OnPageIndexChanging="grvResultado_PageIndexChanging" >
                                <Columns>
                                    <asp:TemplateField>
                                        <ItemTemplate>
                                            <asp:ImageButton ID="imgbVisualizar" runat="server" OnClick="imgbVisualizar_Click"
                                                ImageUrl="~/App_Themes/Padrao/imagens/backoffice/editar.gif" CommandArgument='<%#Eval("PKString") %>'
                                                ToolTip="Abrir formulário completo" />
                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Center" />
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="idContrato" HeaderText="C&oacute;digo" DataFormatString="{0:N0}"/>
                                    <asp:BoundField DataField="idFilialVO" HeaderText="Filial"/>
                                    <asp:BoundField DataField="desc" HeaderText="Parcelamento"/>
                                    <asp:TemplateField HeaderText="Debito/Credito?">
                                        <ItemTemplate>
                                          <asp:Label ID="lblnatureza" runat="server" Text='<%# Eval("natureza")!=null?(bool)Eval("natureza")?"Sim":"N&atilde;o":"" %>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                <EditRowStyle BackColor="#999999" />
                                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                            </asp:GridView>
                        </div>
                    </ContentTemplate>
                </asp:TabPanel>
                <asp:TabPanel ID="tabCadastro" runat="server" HeaderText="Cadastro">
                    <ContentTemplate>
                        <asp:Panel ID="panelCad" runat="server" BackColor="#eeeeee">
                            <div style="width: 100%; min-width:400px; min-height:300px;">
                                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td>
                                            <asp:Panel ID="panelBotoes" runat="server">
                                                <asp:Button ID="btnSalvar" runat="server" Enabled="False" ValidationGroup="Salvar"
                                                    OnClick="btnSalvar_Click" Text="Salvar" UseSubmitBehavior="false"/>
                                                &nbsp;<asp:Button ID="btnCancelar" runat="server" OnClick="btnCancelar_Click" 
                                                    Text="Cancelar" UseSubmitBehavior="false"/>
                                                <asp:Button ID="btnEditar" runat="server" Enabled="False" 
                                                    OnClick="btnEditar_Click" Text="Editar" UseSubmitBehavior="false"/>
                                                &nbsp;<asp:Button ID="btnExcluir" runat="server" Enabled="False" 
                                                    OnClick="btnExcluir_Click" Text="Excluir" UseSubmitBehavior="false"/>
                                                &nbsp;<asp:Button ID="btnNovo" runat="server" 
                                                    OnClick="btnNovo_Click" Text="Novo" UseSubmitBehavior="false"/>
                                                <asp:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" TargetControlID="btnExcluir" ConfirmText="Confirma a exclus&atilde;o de Contrato?">
                                                </asp:ConfirmButtonExtender>
                                                <hr />
                                            </asp:Panel>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">C&oacute;digo:</div>
                                                <asp:TextBox ID="txtCadIdContrato" MaxLength="11" Width="76" onkeypress="strictNum();" onblur="validaDecimal(this.value,11,0);" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                                <asp:MaskedEditExtender ID="meetxtCadIdContrato" runat="server" Mask="99999999999" TargetControlID="txtCadIdContrato" PromptCharacter="" />
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Filial:</div>
                                                <asp:DropDownList ID="ddlCadIdFilial" Width="76" ForeColor="DarkBlue" Font-Bold="true" runat="server" DataTextField="Filial" 
                                                    DataValueField="PKString" ></asp:DropDownList>
                                                <asp:HyperLink ID="HyperLinkCadIdFilial" runat="server" NavigateUrl="~/CadastroIdFilial.aspx" ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/editar.gif" Target="CadastroIdFilial" ToolTip="Editar cadastro" ></asp:HyperLink>
                                                <asp:ImageButton ID="ImageButtonCadIdFilial" runat="server" ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/atualizar.png" ToolTip="Atualizar lista" OnClick="atualizarDdlIdFilial" />
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Parcelamento:</div>
                                                <asp:TextBox ID="txtCadDesc" MaxLength="60" Width="350" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                                <asp:RequiredFieldValidator ControlToValidate="txtCadDesc" 
                                                   ErrorMessage="Preenchimento obrigat&oacute;rio." ID="rfvtxtCadDesc" Display="None"
                                                   runat="server" ValidationGroup="Salvar" ></asp:RequiredFieldValidator>
                                                <asp:ValidatorCalloutExtender ID="vcetxtCadDesc" runat="server" TargetControlID="rfvtxtCadDesc"></asp:ValidatorCalloutExtender>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Data:</div>
                                                    <asp:TextBox ID="txtCadVcto" MaxLength="10" Width="80" onkeypress="MascaraData();" onblur="validaData();" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                                    <asp:ImageButton ID="imgtxtCadVcto" runat="server" ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/Calendario.png" />
                                                    <asp:CalendarExtender ID="cetxtCadVcto" runat="server" DaysModeTitleFormat="dd/MM/yyyy"
                                                        Enabled="True" TargetControlID="txtCadVcto" BehaviorID="imgtxtCadVcto"
                                                        PopupButtonID="imgtxtCadVcto" Format="dd/MM/yyyy" TodaysDateFormat="dd/MM/yyyy">
                                                    </asp:CalendarExtender>
                                                <asp:RequiredFieldValidator ControlToValidate="txtCadVcto" 
                                                   ErrorMessage="Preenchimento obrigat&oacute;rio." ID="rfvtxtCadVcto" Display="None"
                                                   runat="server" ValidationGroup="Salvar" ></asp:RequiredFieldValidator>
                                                <asp:ValidatorCalloutExtender ID="vcetxtCadVcto" runat="server" TargetControlID="rfvtxtCadVcto"></asp:ValidatorCalloutExtender>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Debito/Credito:</div>
                                                <asp:DropDownList ID="ddlCadNatureza" ForeColor="DarkBlue" Font-Bold="true" runat="server" > 
                                                    <asp:ListItem Text="Sim" Value="S"></asp:ListItem>
                                                    <asp:ListItem Text="N&atilde;o" Value="N"></asp:ListItem>
                                                </asp:DropDownList>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Parcelas:</div>
                                                <asp:TextBox ID="txtCadParcelas" MaxLength="3" Width="28" onkeypress="strictNum();" onblur="validaDecimal(this.value,3,0);" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                                <asp:MaskedEditExtender ID="meetxtCadParcelas" runat="server" Mask="999" TargetControlID="txtCadParcelas" PromptCharacter="" />
                                                <asp:RequiredFieldValidator ControlToValidate="txtCadParcelas" 
                                                   ErrorMessage="Preenchimento obrigat&oacute;rio." ID="rfvtxtCadParcelas" Display="None"
                                                   runat="server" ValidationGroup="Salvar" ></asp:RequiredFieldValidator>
                                                <asp:ValidatorCalloutExtender ID="vcetxtCadParcelas" runat="server" TargetControlID="rfvtxtCadParcelas"></asp:ValidatorCalloutExtender>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Intervalo&nbsp;entre&nbsp;parcelas:</div>
                                                <asp:TextBox ID="txtCadIntervalo" MaxLength="3" Width="28" onkeypress="strictNum();" onblur="validaDecimal(this.value,3,0);" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                                <asp:MaskedEditExtender ID="meetxtCadIntervalo" runat="server" Mask="999" TargetControlID="txtCadIntervalo" PromptCharacter="" />
                                                <asp:RequiredFieldValidator ControlToValidate="txtCadIntervalo" 
                                                   ErrorMessage="Preenchimento obrigat&oacute;rio." ID="rfvtxtCadIntervalo" Display="None"
                                                   runat="server" ValidationGroup="Salvar" ></asp:RequiredFieldValidator>
                                                <asp:ValidatorCalloutExtender ID="vcetxtCadIntervalo" runat="server" TargetControlID="rfvtxtCadIntervalo"></asp:ValidatorCalloutExtender>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Valor:</div>
                                                <asp:TextBox ID="txtCadValor" MaxLength="13" Width="88" onkeypress="mascaraMoeda();" onblur="validaDecimal(this.value,0,2);" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                                <asp:RequiredFieldValidator ControlToValidate="txtCadValor" 
                                                   ErrorMessage="Preenchimento obrigat&oacute;rio." ID="rfvtxtCadValor" Display="None"
                                                   runat="server" ValidationGroup="Salvar" ></asp:RequiredFieldValidator>
                                                <asp:ValidatorCalloutExtender ID="vcetxtCadValor" runat="server" TargetControlID="rfvtxtCadValor"></asp:ValidatorCalloutExtender>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Nr.&nbsp;de&nbsp;Documento:</div>
                                                <asp:TextBox ID="txtCadNrDoc" MaxLength="30" Width="190" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                                <asp:RequiredFieldValidator ControlToValidate="txtCadNrDoc" 
                                                   ErrorMessage="Preenchimento obrigat&oacute;rio." ID="rfvtxtCadNrDoc" Display="None"
                                                   runat="server" ValidationGroup="Salvar" ></asp:RequiredFieldValidator>
                                                <asp:ValidatorCalloutExtender ID="vcetxtCadNrDoc" runat="server" TargetControlID="rfvtxtCadNrDoc"></asp:ValidatorCalloutExtender>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Separador&nbsp;de&nbsp;Nr.&nbsp;de&nbsp;Doc.:</div>
                                                <asp:TextBox ID="txtCadSeparador" MaxLength="5" Width="40" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Incremento&nbsp;de&nbsp;Nr.&nbsp;de&nbsp;Doc.:</div>
                                                <asp:TextBox ID="txtCadIncremento" MaxLength="3" Width="28" onkeypress="strictNum();" onblur="validaDecimal(this.value,3,0);" ForeColor="DarkBlue" Font-Bold="true" runat="server"></asp:TextBox>
                                                <asp:MaskedEditExtender ID="meetxtCadIncremento" runat="server" Mask="999" TargetControlID="txtCadIncremento" PromptCharacter="" />
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Forma&nbsp;de&nbsp;Pgto:</div>
                                                <asp:DropDownList ID="ddlCadIdFormaPgto" Width="76" ForeColor="DarkBlue" Font-Bold="true" runat="server" DataTextField="FormaPgto" 
                                                    DataValueField="PKString" ></asp:DropDownList>
                                                <asp:HyperLink ID="HyperLinkCadIdFormaPgto" runat="server" NavigateUrl="~/CadastroIdFormaPgto.aspx" ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/editar.gif" Target="CadastroIdFormaPgto" ToolTip="Editar cadastro" ></asp:HyperLink>
                                                <asp:ImageButton ID="ImageButtonCadIdFormaPgto" runat="server" ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/atualizar.png" ToolTip="Atualizar lista" OnClick="atualizarDdlIdFormaPgto" />
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Centro&nbsp;de&nbsp;Custo:</div>
                                                <asp:DropDownList ID="ddlCadIdCCusto" Width="76" ForeColor="DarkBlue" Font-Bold="true" runat="server" DataTextField="CCusto" 
                                                    DataValueField="PKString" ></asp:DropDownList>
                                                <asp:HyperLink ID="HyperLinkCadIdCCusto" runat="server" NavigateUrl="~/CadastroIdCCusto.aspx" ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/editar.gif" Target="CadastroIdCCusto" ToolTip="Editar cadastro" ></asp:HyperLink>
                                                <asp:ImageButton ID="ImageButtonCadIdCCusto" runat="server" ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/atualizar.png" ToolTip="Atualizar lista" OnClick="atualizarDdlIdCCusto" />
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Centro&nbsp;de&nbsp;Lucro:</div>
                                                <asp:DropDownList ID="ddlCadIdCClucro" Width="76" ForeColor="DarkBlue" Font-Bold="true" runat="server" DataTextField="CLucro" 
                                                    DataValueField="PKString" ></asp:DropDownList>
                                                <asp:HyperLink ID="HyperLinkCadIdCClucro" runat="server" NavigateUrl="~/CadastroIdCClucro.aspx" ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/editar.gif" Target="CadastroIdCClucro" ToolTip="Editar cadastro" ></asp:HyperLink>
                                                <asp:ImageButton ID="ImageButtonCadIdCClucro" runat="server" ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/atualizar.png" ToolTip="Atualizar lista" OnClick="atualizarDdlIdCClucro" />
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Fornecedor:</div>
                                                <asp:DropDownList ID="ddlCadIdFornecedor" Width="76" ForeColor="DarkBlue" Font-Bold="true" runat="server" DataTextField="ToString()" 
                                                    DataValueField="PKString" ></asp:DropDownList>
                                                <asp:HyperLink ID="HyperLinkCadIdFornecedor" runat="server" NavigateUrl="~/CadastroIdFornecedor.aspx" ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/editar.gif" Target="CadastroIdFornecedor" ToolTip="Editar cadastro" ></asp:HyperLink>
                                                <asp:ImageButton ID="ImageButtonCadIdFornecedor" runat="server" ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/atualizar.png" ToolTip="Atualizar lista" OnClick="atualizarDdlIdFornecedor" />
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="FormDiv">
                                                <div class="FormLabel">Cliente:</div>
                                                <asp:DropDownList ID="ddlCadIdCliente" Width="76" ForeColor="DarkBlue" Font-Bold="true" runat="server" DataTextField="ToString()" 
                                                    DataValueField="PKString" ></asp:DropDownList>
                                                <asp:HyperLink ID="HyperLinkCadIdCliente" runat="server" NavigateUrl="~/CadastroIdCliente.aspx" ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/editar.gif" Target="CadastroIdCliente" ToolTip="Editar cadastro" ></asp:HyperLink>
                                                <asp:ImageButton ID="ImageButtonCadIdCliente" runat="server" ImageUrl="~/App_Themes/Padrao/Imagens/backoffice/atualizar.png" ToolTip="Atualizar lista" OnClick="atualizarDdlIdCliente" />
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <hr />
                                            <table  border="0" cellpadding="0" cellspacing="3">
                                                <tr>
                                                    <td class="FormLabel">
                                                        Data Cadastro:
                                                    </td>
                                                    <td class="FormLabel">
                                                        Cadastrado por:
                                                    </td>
                                                    <td class="FormLabel">
                                                        Data Edi&ccedil;&atilde;o:
                                                    </td>
                                                    <td class="FormLabel">
                                                        Editado por:
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="FormControl">
                                                        <asp:Literal ID="ltDataCadastro" runat="server"></asp:Literal>
                                                    </td>
                                                    <td class="FormControl">
                                                        <asp:Literal ID="ltCadastradoPor" runat="server"></asp:Literal>
                                                    </td>
                                                    <td class="FormControl">
                                                        <asp:Literal ID="ltDataEdicao" runat="server"></asp:Literal>
                                                    </td>
                                                    <td class="FormControl">
                                                        <asp:Literal ID="ltEditadoPor" runat="server"></asp:Literal>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </asp:Panel>
                    </ContentTemplate>
                </asp:TabPanel>
            </asp:TabContainer>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
